﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CharacterCreation.Data.Models {
    /// <summary>
    /// Will power class
    /// </summary>
    public class WillPower : Statistic {
        
        /// <summary>
        /// Gets or sets the BeginningEssenceAdjustment
        /// </summary>
        public int BeginningEssenceAdjustment {
            get { return _BeginningEssenceAdjustment; }
            set {
                _BeginningEssenceAdjustment = value;
                RaisePropertyChanged("BeginningEssenceAdjustment");
            }
        }
        private int _BeginningEssenceAdjustment;

        
        /// <summary>
        /// Gets or sets the EssenceHealingRate
        /// </summary>
        public double EssenceHealingRate {
            get { return _EssenceHealingRate; }
            set {
                _EssenceHealingRate = value;
                RaisePropertyChanged("EssenceHealingRate");
            }
        }
        private double _EssenceHealingRate;
                

        public WillPower() {
            this.Name = "Will power";
        }

        public override string ToString() {
            return string.Format("BEA:{0}, EHR:{1}", this.BeginningEssenceAdjustment, this.EssenceHealingRate);
        }
    }
}
